#pragma once
#include "Grid.h"

class Game {
private:
    Grid grid;
    int score;
    bool gameOver;
    bool won;

public:
    Game();

    void handleInput();
    void update();
    void draw() const;

    bool isGameOver() const;
    bool hasWon() const;
    int getScore() const;
    int getMaxTile() const;

private:
    void checkGameStatus();
};